package com.zpf;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;
import org.springframework.web.client.RestTemplate;

/**
 * @ClassName: SimpleConsumerMovieApplication
 * @Description: 简单电影微服务
 * @Autor: ZPF
 * @Date: 2021/1/13 11:20
 **/
@SpringBootApplication
public class SimpleConsumerMovieApplication {

    @Bean
    public RestTemplate restTemplate() {
        return new RestTemplate();
    }

    public static void main(String[] args) {
        SpringApplication.run(SimpleConsumerMovieApplication.class, args);
        System.out.println("【简单电影微服务】已启动.");
    }
}
